package com.example.busquerysystem.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/6 0006.
 */

public class BusStation {

    /**
     * reason : success
     * result : [{"line_id":"07312012082310005","name":"１２（火车站－姚家坝）","key_name":"１２","front_name":"火车站","terminal_name":"姚家坝","start_time":"0430","end_time":"1730","basic_price":"1.000000","total_price":"10.000000","company":"株洲公交发展股份有限公司","length":"25.844999"},{"line_id":"07312012082310006","name":"１２（姚家坝－火车站）","key_name":"１２","front_name":"姚家坝","terminal_name":"火车站","start_time":"0400","end_time":"1600","basic_price":"1.000000","total_price":"10.000000","company":"株洲公交发展股份有限公司","length":"25.636999"},{"line_id":"07312012082310019","name":"Ｔ１（火车站－清石广场）","key_name":"Ｔ１","front_name":"火车站","terminal_name":"清石广场","start_time":"0520","end_time":"0100","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交巴士股份有限责任公司","length":"8.504000"},{"line_id":"07312012082310020","name":"Ｔ１（清石广场－火车站）","key_name":"Ｔ１","front_name":"清石广场","terminal_name":"火车站","start_time":"0520","end_time":"0100","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交巴士股份有限责任公司","length":"8.393000"},{"line_id":"0731007002","name":"Ｔ１９（起重设备厂－株洲火车站）","key_name":"Ｔ１９","front_name":"起重设备厂","terminal_name":"株洲火车站","start_time":"0540","end_time":"2200","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交发展股份有限公司","length":"10.758000"},{"line_id":"0731007001","name":"Ｔ１９（株洲火车站－起重设备厂）","key_name":"Ｔ１９","front_name":"株洲火车站","terminal_name":"起重设备厂","start_time":"0540","end_time":"2200","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交发展股份有限公司","length":"10.670000"},{"line_id":"0731005002","name":"Ｔ３（田心－株洲火车站）","key_name":"Ｔ３","front_name":"田心","terminal_name":"株洲火车站","start_time":"0540","end_time":"2230","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交发展股份有限公司","length":"8.146000"},{"line_id":"0731005001","name":"Ｔ３（株洲火车站－田心）","key_name":"Ｔ３","front_name":"株洲火车站","terminal_name":"田心","start_time":"0540","end_time":"2230","basic_price":"1.000000","total_price":"1.000000","company":"株洲公交发展股份有限公司","length":"7.705000"},{"line_id":"0731008902","name":"Ｔ３４（有色职院－株洲火车站）","key_name":"Ｔ３４","front_name":"有色职院","terminal_name":"株洲火车站","start_time":"0540","end_time":"2000","basic_price":"1.000000","total_price":"1.500000","company":"株洲公交发展股份有限公司","length":"17.608999"},{"line_id":"0731008901","name":"Ｔ３４（株洲火车站－有色职院）","key_name":"Ｔ３４","front_name":"株洲火车站","terminal_name":"有色职院","start_time":"0540","end_time":"2000","basic_price":"1.000000","total_price":"1.500000","company":"株洲公交发展股份有限公司","length":"17.566000"}]
     * error_code : 0
     */

    private String reason;
    private int error_code;
    private List<ResultBean> result;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * line_id : 07312012082310005
         * name : １２（火车站－姚家坝）
         * key_name : １２
         * front_name : 火车站
         * terminal_name : 姚家坝
         * start_time : 0430
         * end_time : 1730
         * basic_price : 1.000000
         * total_price : 10.000000
         * company : 株洲公交发展股份有限公司
         * length : 25.844999
         */

        private String line_id;
        private String name;
        private String key_name;
        private String front_name;
        private String terminal_name;
        private String start_time;
        private String end_time;
        private String basic_price;
        private String total_price;
        private String company;
        private String length;

        public String getLine_id() {
            return line_id;
        }

        public void setLine_id(String line_id) {
            this.line_id = line_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getKey_name() {
            return key_name;
        }

        public void setKey_name(String key_name) {
            this.key_name = key_name;
        }

        public String getFront_name() {
            return front_name;
        }

        public void setFront_name(String front_name) {
            this.front_name = front_name;
        }

        public String getTerminal_name() {
            return terminal_name;
        }

        public void setTerminal_name(String terminal_name) {
            this.terminal_name = terminal_name;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getBasic_price() {
            return basic_price;
        }

        public void setBasic_price(String basic_price) {
            this.basic_price = basic_price;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getLength() {
            return length;
        }

        public void setLength(String length) {
            this.length = length;
        }
    }
}
